/**
 * fileName:  AccountStoreImpl.java
 * author:  Lei
 * Company:  Cloudland Studio
 * Createdate:  2014-2-22 下午4:56:05
 *
 * All rights Reserved, Designed By cloudland Copyright(C) 2010-2020
 *   
 * Modification  History:
 *     Date           Author        Version        
 * -------------------------------------------
 * 2014-2-22          Lei            1.0        
 *
 * Why & What is modified:
 * 1.0: 文件创建
 */
package org.cloudland.commercial.uphold.handler.support;

import org.cloudland.commercial.uphold.handler.Account;
import org.cloudland.commercial.uphold.handler.AccountStore;
import org.cloudland.commercial.uphold.store.entity.AccountEntity;
import org.cloudland.commercial.uphold.store.persisten.AccountPersistence;

 /**
 * <pre> 
 * TODO 请充分描述该类提供的作用, 或与其他类会有关联的使用。
 * 使用 java.lang.Object#toString(), 或者 {@link java.lang.Character Character} 等标签
 * </pre>
 * @ClassName  AccountStoreImpl
 * @author  Lei
 * @version  %I%, %G%
 * @see  
 * @since   JDK1.6
 *
 */
public class AccountStoreImpl implements AccountStore {
	
	private AccountPersistence accountDao = null;
	
	public AccountStoreImpl(AccountPersistence accountDao) {
		this.accountDao = accountDao;
	}

	/**
	 * @return
	 */
	public Account createAccount() {
		return new AccountImpl(new AccountEntity(), accountDao);
	}

	/**
	 * @param accountId
	 * @return
	 */
	public Account findById(String accountId) {
		return null;
	}

	/**
	 * @param accountName
	 * @return
	 */
	public Account findByName(String accountName) {
		return null;
	}

	/**
	 * @return
	 */
	public Account[] findAll() {
		return null;
	}

	/**
	 * @param accountId
	 * @return
	 */
	public Boolean remove(String accountId) {
		return null;
	}

}
